package cn.datawin.sms.cmpp2;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = ReportNotify.COLLECTION_NAME)
public class ReportNotify {
    public static final String COLLECTION_NAME = "report_notify";
    private static final long serialVersionUID = 1L;
    @Id
    private String id;

    //下游接收报告的响应
    private String msgId;
    private Integer sequence;

    // 0 正常 1失败 2 超时
    private Integer status;

    private Long result;

    private Date submitDate;

    private Date responseDate;

    private String ymd;

}
